package com.teemo.dp.flyweight.demo2;

/**
 * @author Teemo
 */
public class WhitePiece extends Piece{

    public WhitePiece() {
        System.out.println("创建白棋");
    }
    @Override
    public String getColor() {
        return "white";
    }
}
